package com.xiaoze.question.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoze.common.annotation.Excel;
import com.xiaoze.common.core.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * 试题题目选项管理对象 question_answer
 *
 * @author 胡昊泽
 * @date 2024-08-02
 */
@Data
@TableName("question_answer" )
public class QuestionAnswer extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    //添加
    @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    /**
     * 问题编号id
     */
    @Excel(name = "问题编号id" )
    private String questionId;

    /**
     * 试题选项
     */
    @Excel(name = "试题选项答案" )
    private String questionAnswer;

    /**
     * 选择题选项号，其他试题类型不允许使用该字段
     */
    @Excel(name = "选择题选项号，其他试题类型不允许使用该字段" )
    private String questionSelect;

    /**
     * 唯一标识
     */
    @Excel(name = "唯一标识" )
    private String unCode;

    /**
     * 排序号
     */
    @Excel(name = "排序号" )
    private Long sortNo;


}

